package com.og.ouroa.pojo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description="用户信息视图对象")
public class UserInfoVO {

    @ApiModelProperty(value = "用户id")
    private Integer id;

    @ApiModelProperty(value = "学号/职工号")
    private String number;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "身份(0: 学生, 1: 老师)")
    private Boolean identity;

    @ApiModelProperty(value = "真实姓名")
    private String name;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "1: 男 0: 女")
    private Integer sex;

    @ApiModelProperty(value = "部门")
    private String dept;

    @ApiModelProperty(value = "邮箱")
    private String eMail;

    @ApiModelProperty(value = "用户头像 ")
    @TableField("img")
    private String img;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "状态（0：锁定 1：正常）")
    private Boolean status;

    @ApiModelProperty(value = "JWT访问令牌")
    private String token;
}